package sisgel.user;

public class Professor extends User {

	private int siape;
	private String workPhone;
	private String lotacao;
	
	public Professor() {
		super();
	}

	public Professor(int userId, String userName, String login,
			String password, String telephone, String email,
			int siape, String workPhone, String lotacao) {
		super(userId, userName, login, password, telephone, email);
		this.siape = siape;
		this.workPhone = workPhone;
		this.lotacao = lotacao;
	}
	
	public Professor(String userName, String login,
			String password, String telephone, String email,
			int siape, String workPhone, String lotacao) {
		this(-1, userName, login, password, telephone, email, siape, workPhone, lotacao);
		
		this.userId = saveUser();
	}

	public int getSiape() {
		return siape;
	}

	public void setSiape(int siape) {
		this.siape = siape;
	}

	public String getWorkPhone() {
		return workPhone;
	}

	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}

	public String getLotacao() {
		return lotacao;
	}

	public void setLotacao(String lotacao) {
		this.lotacao = lotacao;
	}
	
}
